package com.inspur.ourhis_afterend.Service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.inspur.ourhis_afterend.Entity.Doctors;
import com.inspur.ourhis_afterend.Tools.PageAction;
import com.inspur.ourhis_afterend.model.Doctor;
import org.springframework.stereotype.Service;

import java.util.List;


public interface DoctorsService {
    IPage<Doctors> findAll(PageAction pageAction)throws Exception;

    List<Doctors> search(String departId, String realName, String docId) throws Exception;

    int add(Doctors doctors)throws Exception;

    int edit(Doctors doctors)throws Exception;

    int del(String docId) throws Exception;

    Doctors findOne(String docId)throws Exception;
}
